<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
</head>
<body>
    <div class="container">
        <!-- 顶部搜索栏 -->
        <div class="navbar">
            <div class="flex items-center bg-gray-100 rounded-full p-2">
                <i class="fas fa-search text-gray-400 mx-2"></i>
                <input type="text" placeholder="搜索景点" class="bg-transparent w-full outline-none">
            </div>
        </div>

        <!-- 轮播图 -->
        <div class="relative h-48 bg-gray-200">
            <img src="https://picsum.photos/414/192" alt="景区图片" class="w-full h-full object-cover">
            <div class="absolute bottom-0 left-0 right-0 p-4 bg-gradient-to-t from-black/50">
                <h2 class="text-white text-xl font-bold">欢迎来到XX景区</h2>
            </div>
        </div>

        <!-- 功能区 -->
        <div class="grid grid-cols-4 gap-4 p-4">
            <div class="text-center">
                <div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mx-auto">
                    <i class="fas fa-map-marker-alt text-blue-500"></i>
                </div>
                <p class="mt-2 text-sm">景点导览</p>
            </div>
            <div class="text-center">
                <div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mx-auto">
                    <i class="fas fa-headphones text-green-500"></i>
                </div>
                <p class="mt-2 text-sm">语音讲解</p>
            </div>
            <div class="text-center">
                <div class="w-12 h-12 bg-yellow-100 rounded-full flex items-center justify-center mx-auto">
                    <i class="fas fa-camera text-yellow-500"></i>
                </div>
                <p class="mt-2 text-sm">AR体验</p>
            </div>
            <div class="text-center">
                <div class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center mx-auto">
                    <i class="fas fa-ticket-alt text-purple-500"></i>
                </div>
                <p class="mt-2 text-sm">购票服务</p>
            </div>
        </div>

        <!-- 热门景点 -->
        <div class="p-4">
            <h3 class="text-lg font-bold mb-4">热门景点</h3>
            <div class="space-y-4">
                <div class="card flex">
                    <img src="https://picsum.photos/100/100" alt="景点" class="w-24 h-24 rounded-lg object-cover">
                    <div class="ml-4">
                        <h4 class="font-bold">天坛公园</h4>
                        <p class="text-sm text-gray-500 mt-1">世界文化遗产，明清皇帝祭天场所</p>
                        <div class="mt-2">
                            <span class="text-sm text-blue-500">4.9分</span>
                            <span class="text-sm text-gray-400 ml-2">2000+ 评价</span>
                        </div>
                    </div>
                </div>
                
                <div class="card flex">
                    <img src="https://picsum.photos/100/100" alt="景点" class="w-24 h-24 rounded-lg object-cover">
                    <div class="ml-4">
                        <h4 class="font-bold">故宫博物院</h4>
                        <p class="text-sm text-gray-500 mt-1">中国明清两代的皇家宫殿</p>
                        <div class="mt-2">
                            <span class="text-sm text-blue-500">4.8分</span>
                            <span class="text-sm text-gray-400 ml-2">5000+ 评价</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- 底部导航 -->
        <div class="fixed bottom-0 left-0 right-0 bg-white border-t flex justify-around py-2">
            <div class="text-center text-blue-500">
                <i class="fas fa-home"></i>
                <p class="text-xs mt-1">首页</p>
            </div>
            <div class="text-center text-gray-400">
                <i class="fas fa-compass"></i>
                <p class="text-xs mt-1">发现</p>
            </div>
            <div class="text-center text-gray-400">
                <i class="fas fa-user"></i>
                <p class="text-xs mt-1">我的</p>
            </div>
        </div>
    </div>
</body>
</html>